package com.wut.clock.vo.admin;

import com.wut.clock.entity.Comment;

import java.util.List;

/**
 * @Author: yuwei
 * @Date: 2022/6/1 14:51
 * @Description:
 */

public class CommentVo extends Comment {

    /**
     * 用户头像
     */
    private String avatar;

    /**
     * 用户昵称/评论人
     */
    private String nickname;

    /**
     * 被评论的用户昵称/回复人
     */
    private String replyNickname;

    /**
     * 文章标题
     */
    private String articleTitle;

    /**
     * 对该评论的评论
     */
    List<CommentVo> children;

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getReplyNickname() {
        return replyNickname;
    }

    public void setReplyNickname(String replyNickname) {
        this.replyNickname = replyNickname;
    }

    public String getArticleTitle() {
        return articleTitle;
    }

    public void setArticleTitle(String articleTitle) {
        this.articleTitle = articleTitle;
    }

    public List<CommentVo> getChildren() {
        return children;
    }

    public void setChildren(List<CommentVo> children) {
        this.children = children;
    }
}
